package com.csh.subject.application.convert;

import com.csh.subject.application.dto.SubjectAnswerDto;
import com.csh.subject.application.dto.SubjectInfoDto;
import com.csh.subject.domain.entity.SubjectAnswerBo;
import com.csh.subject.domain.entity.SubjectInfoBo;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * 标签Dto的转换
 */
@Mapper
public interface SubjectAnswerDtoConvert {
    SubjectAnswerDtoConvert INSTANCE = Mappers.getMapper(SubjectAnswerDtoConvert.class);

    SubjectAnswerBo convertDtoToBo(SubjectAnswerDto subjectAnswerDto);

    List<SubjectAnswerBo> convertDtoToBoList(List<SubjectAnswerDto> dtoList);

}
